Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Map Info Mod

  1. #1
    Administrator JoTo's Avatar
    Join Date
    May 2010
    Location
    www.scapp.net
    Posts
    1,952

    Default Map Info Mod

    On Intiative of Midnight here is the Map Info Mod as a seperate mod extracted from upcoming Mod Framework:

    The mod will print message about current map and next map in the top right corner, also toggable by a cvar a warning if the next map is a custom map. The mapnames are read from mapnames.txt file located in main/settings folder

    The mod is executed from dmprecache, if you allready run other mods you need to add
    Code:
    exec custom/mapinfo/mapinfo.scr
    to the dmprecache script.
    The mod will print to log file when it is called, and print to logfile if it is enabled (mapinfo 1)

    Installation:

    Place the mapinfo.pk3 file in your servers main folder.
    Place the mapnames.txt file in your servers main/settings folder. (If the settings folder does not exist yet you need to create it.)

    These cvars control the behaviour of the mod, add them to your server.cfg:

    seta mapinfo 1
    seta mapinfo_mapname 1
    seta mapinfo_custommapwarning 1
    seta mapinfo_customwarning_string1 "Next map is a custom map"
    seta mapinfo_customwarning_string2 "If you do not have it server will kick you."

    Description:

    mapinfo 1 / 0 turns the mod on / off
    mapinfo_mapname 1 / 0 sets wether the orginal map name is print e.g. dm/mohdm1 or the alias name "Southern France"
    mapinfo_custommapwarning 1 / 0 sets wether warning is print if the next map is a custom map

    The mapnames.txt file does not contain all names of all available custom maps, also names of single player maps are missing, would be cool if someone adds them and republish the file. (to do so open the file and add the names to mapnames2, mapnames3 - mapnames1 is allready full)

    Credits: The mod is originally base on work by Giffe and Elgan
    Attached Files Attached Files
    Gamers Network - www.scapp.net

  2. #2

    Default

    Great job Joto!

    There are other "nextmap" mods out there for SH (using VSTR) but for AA there just wasn't one that worked properly.
    Until now, wooooooohoooooooooo !!!
    This MOD has all kinds of bells and whistles that gives that extra "finishing touch" to a server :-)

    Again, great job and many many thanks!

  3. #3

    Default

    Cool
    "La merde a de l'avenir. Vous verrez qu'un jour on en fera des discours."
    Louis Ferdinant Céline

  4. #4

    Default

    About adding the single player maps to this, when I look at the map list i see things such as m2|2a, m2|2b, and m2|2c. Do each of these entries need to be added, or simply just m2|2 and so on?

  5. #5
    Administrator JoTo's Avatar
    Join Date
    May 2010
    Location
    www.scapp.net
    Posts
    1,952

    Default

    ahh sorry, slow me, Midnight has allready sended me new mapnames files with the single player names, apologies had in mind to post that here but forgot about it.
    But still a lot of objective and dm maps missing though.

  6. #6
    Testing Crew Member dax's Avatar
    Join Date
    Aug 2010
    Location
    liverpool uk
    Posts
    549

    Default

    hi Joto...
    i am trying to get this running on our server ....
    but i am getting a segmentation 11 fault with it as soon as the mod is called.
    does it not work with rc 3 ????
    Dave
    =COH=Ubersoldier/Dax
    mess with the best ,die like the rest !!!

  7. #7
    Administrator JoTo's Avatar
    Join Date
    May 2010
    Location
    www.scapp.net
    Posts
    1,952

    Default

    hi dave,
    hmm no clue to be honest, it shouldn't ? Its just a simple script which does nothing special imo.
    It always worked for me without probs, though never ran it with rc3, and hadn't any error feedback from other users on this.

  8. #8
    Testing Crew Member dax's Avatar
    Join Date
    Aug 2010
    Location
    liverpool uk
    Posts
    549

    Default

    well its definatley the mapinfo mod...upload to server server crashes seg 11 fault.
    take it out ...server runs fine !!!!
    thought it might have been the sp maps i added to the txt file ,but even standard it causes the seg fault .
    will try repacking the pk3 to see if thats a problem.
    Dave
    ps ...midnight ...do you have any problem with this mod ??????
    =COH=Ubersoldier/Dax
    mess with the best ,die like the rest !!!

  9. #9

    Default

    Hi Dax, this is the version I used a while ago:

    I know for sure it works with the Windows RC3.
    Didn't had a chance to test it on Linux yet..
    Attached Files Attached Files

  10. #10
    Testing Crew Member dax's Avatar
    Join Date
    Aug 2010
    Location
    liverpool uk
    Posts
    549

    Default

    hi all...
    ok got it working ...
    silly little thing ...i already use a dmprecache to exec several other mods,so added the exec for the mapinfo mod to it .
    but my dmprecache did not have a "level waittill spawn" ....i added it and now it runs fine !!!
    Dave
    =COH=Ubersoldier/Dax
    mess with the best ,die like the rest !!!

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •